package 程序.构造方法;

public class User {
    private String name;
    public String region;
    public User(String name,  String region) {
        this.name = name;
        this.region = region;
    } public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }
}
